package com.yida.gwj.expend.mapper;

import com.yida.gwj.expend.domain.GwjMaintenanceFundsBusinessOwner;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 业务业主信息Mapper接口
 *
 * @author lgp
 * @date 2023-02-20
 */
@Mapper
public interface GwjMaintenanceFundsBusinessOwnerMapper {
    /**
     * 查询业务业主信息
     *
     * @param businessOwnerId 业务业主信息主键
     * @return 业务业主信息
     */
    public GwjMaintenanceFundsBusinessOwner selectGwjMaintenanceFundsBusinessOwnerByBusinessOwnerId(Long businessOwnerId);

    /**
     * 查询业务业主信息列表
     *
     * @param gwjMaintenanceFundsBusinessOwner 业务业主信息
     * @return 业务业主信息集合
     */
    public List<GwjMaintenanceFundsBusinessOwner> selectGwjMaintenanceFundsBusinessOwnerList(GwjMaintenanceFundsBusinessOwner gwjMaintenanceFundsBusinessOwner);

    /**
     * 新增业务业主信息
     *
     * @param gwjMaintenanceFundsBusinessOwner 业务业主信息
     * @return 结果
     */
    public int insertGwjMaintenanceFundsBusinessOwner(GwjMaintenanceFundsBusinessOwner gwjMaintenanceFundsBusinessOwner);

    /**
     * 修改业务业主信息
     *
     * @param gwjMaintenanceFundsBusinessOwner 业务业主信息
     * @return 结果
     */
    public int updateGwjMaintenanceFundsBusinessOwner(GwjMaintenanceFundsBusinessOwner gwjMaintenanceFundsBusinessOwner);

    /**
     * 删除业务业主信息
     *
     * @param businessOwnerId 业务业主信息主键
     * @return 结果
     */
    public int deleteGwjMaintenanceFundsBusinessOwnerByBusinessOwnerId(Long businessOwnerId);

    /**
     * 删除业务业主信息-通过业务ID
     *
     * @param bizId 需要删除的数据主键
     * @return 结果
     */
    public int deleteGwjMaintenanceFundsBusinessOwnerByBusinessId(Long bizId);

    /**
     * 查询业务业主信息
     *
     * @param bizId 业务业主信息主键
     * @return 业务业主信息
     */
    public GwjMaintenanceFundsBusinessOwner selectGwjMaintenanceFundsBusinessOwnerByBusinessId(Long bizId);

    /**
     * 批量插入gwj业务业主列表
     *
     * @param gwjMaintenanceFundsBusinessOwnerList gwj维修基金业务所有者列表
     * @return int
     */
    public int insertBatchGwjMaintenanceFundsBusinessOwner(List<GwjMaintenanceFundsBusinessOwner> gwjMaintenanceFundsBusinessOwnerList);


}
